package com.hrm.utils;

import com.hrm.entity.SysEvent;

import java.util.Date;

/**
 * @Auther: zy
 * @Date: 2020/5/23 10:08
 * @Description:
 */
public class SysEventDescription {

    public static SysEvent addSysEvent(Date date, String description){
        SysEvent sysEvent = new SysEvent();
        sysEvent.setEventBeginTime(date);
        sysEvent.setEventDescription(description);
        return sysEvent;
    }

    public static String addSysEventDescription(Integer id,String name,String event){
        String eventDescription = "员工id: "+ id + ",员工姓名: "+ name + ",完成事件: "+ event;
        return eventDescription;
    }
}
